import psutil

def get_mac_address():
    for nic, addrs in psutil.net_if_addrs().items():
        for addr in addrs:
            if addr.family == psutil.AF_LINK:
                print(addr.address)
                return addr.address